<template>
    <el-tabs v-model="activeName" @tab-click="handleClick"  style="position: absolute;width: 500px; height: 500px; padding: 0px; margin: 0px; border-width: 0px; overflow: hidden;top:20px;right: 0px;">
        <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
        <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
        <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
        <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
    </el-tabs>
</template>

<script>
    export default {
        name: "chartTabs",
        data() {
            return {
                activeName: 'second',
            };
        },
        props:{ menuSelectNum: {
                type: Number,
                default: function () {
                    return 11
                }
            }},
        methods: {
            handleClick(){

            },
            setTabs(){

            }

        },
        watch: {
            menuSelectNum(val) {    //message即为父组件的值，val参数为值
                console.log("获取值:"+val);
            }
        }
    }
</script>

<style scoped>

</style>